package model.model04.demo01.entity;

import com.model.model04.demo01.proxy.IGiveGift;

public class Pursuit implements IGiveGift {
    Girl girl;

    public Pursuit(Girl girl) {
        this.girl = girl;
    }

    @Override
    public void giveDolls() {
        System.out.println(girl.getName() + "送你娃娃");
    }

    @Override
    public void giveFlowers() {
        System.out.println(girl.getName() + "送你鲜花");
    }

    @Override
    public void giveChocolate() {
        System.out.println(girl.getName() + "送你巧克力");
    }

}
